//
// Created by lihengliu on 2023/2/26.
//
#include "jni_string_util.h"

jstring JNIDefineUntil::handString(JNIEnv *env, jstring sou, jstring dst) {
    jclass string_class = env->FindClass("java/lang/String");
    jmethodID concat_method = env->GetMethodID(string_class, "concat",
                                               "(Ljava/lang/String;)Ljava/lang/String;");
    jstring value = (jstring) env->CallObjectMethod(sou, concat_method, dst);
    return value;
}